QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Clip Data Structure

You specify a clipping region (for example, when creating a new draw context with the QADrawContextNew function) by filling in a clip data structure, defined by the TQAClip data type. The clipping region determines which pixels are drawn to a device.

typedef struct TQAClip {
    TQAClipType                         clipType;
    TQAPlatformClip                     clip;
} TQAClip;
clipType
The clip type. See "Clip Types" for the values you can assign to this field.
clip
A platform clip data structure.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |